home *** CD-ROM | disk | FTP | other *** search
- #include "doom.h"
-
- /* Each array is dynamically allocated based on info in the WAD file. */
- seg *Seg_Array;
- side *Side_Array;
- line *Line_Array;
- node *Node_Array;
- node **PNode_Array;
- sector *Sector_Array;
- vertex *Vertex_Array;
- ssector *SSector_Array;
- blockmap *Blockmap_Array;
- blockmap_header *Blockmap_Header;
-
- /* A temp variable - probably a better way of doing this. */
- wall Wall;
-
- /* Player's X,Y,Z location and Height over floor. */
- short Px, Py, Pz, Ph;
- /* The angle the player is facing. */
- unsigned short Pangle;
- /* The angle made by the left side of the player's view cone. */
- unsigned short LeftAngle;
-
- /* The sine & cosine of the angle the player is facing. */
- long CosPangle, SinPangle;
-
- /* The node number of the Root Node in the BSP. */
- short MaxNode;
- /* The height of the floor and ceiling currently being drawn. */
- short floor_ht, ceiling_ht;
-
- /* The ssector the player is in.
- * Used to stop from walking through walls.
- */
-
- short player_ssector;
-
- /* The last height the player was on.
- * Used to stop movements between separate levels.
- */
-
- short last_height;
-